package com.winit.psc.repository;

import com.winit.psc.model.MatrixPsc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.cassandra.core.CassandraOperations;
import org.springframework.stereotype.Component;

/**
 * Created by wangjian on 2017/11/22.
 */
@Component
public class PscOperations {
    private static Logger logger = LoggerFactory.getLogger(PscOperations.class);

    @Autowired
    private CassandraOperations cassandraOperations;

    public void updatePsc(MatrixPsc psc) {
        cassandraOperations.update(psc);
    }
}
